package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.GoodsMaterialBrandDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.GoodsMaterialBrandMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.GoodsMaterialBrand;

@Repository
public class GoodsMaterialBrandDaoImpl implements GoodsMaterialBrandDao {
	
	@Autowired
	private GoodsMaterialBrandMapper goodsMaterialBrandMapper;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return goodsMaterialBrandMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(GoodsMaterialBrand record) {
		return goodsMaterialBrandMapper.insert(record);
	}

	@Override
	public int insertSelective(GoodsMaterialBrand record) {
		return goodsMaterialBrandMapper.insertSelective(record);
	}

	@Override
	public GoodsMaterialBrand selectByPrimaryKey(Long id) {
		return goodsMaterialBrandMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(GoodsMaterialBrand record) {
		return goodsMaterialBrandMapper.updateByPrimaryKey(record);
	}

	@Override
	public int updateByPrimaryKey(GoodsMaterialBrand record) {
		return goodsMaterialBrandMapper.updateByPrimaryKey(record);
	}
	
	
}